package com.woniu.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class Menu {
    private Integer id;
    private String name;
    private String link;
    private Integer parentId;
    private Integer status;
    private String precode;
    private String icon;

    private List<Menu> childrenMenu;        // 存放子菜单的集合
}